package cn.huiyunche.base.service.vo;

import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * @ClassName: InvoiceVo
 * @Description: TODO
 * @author: Aaron
 * @date: 2016年5月26日 上午9:47:55
 */
public class InvoiceVo implements Serializable {

    /**
     * @fieldName: serialVersionUID
     * @fieldType: long
     * @Description: TODO
     */
    private static final long serialVersionUID = -8363992146050139581L;

    /**
     * @fieldName: orderids
     * @fieldType: String
     * @Description: 订单id json数据
     */
    @NotBlank
    private String orderids;

    /**
     * @fieldName: title
     * @fieldType: String
     * @Description: 发票抬头（标题）
     */
    @NotBlank
    private String title;

    /**
     * @fieldName: address
     * @fieldType: String
     * @Description: 发票地址
     */
    @NotBlank
    private String address;

    /**
     * @fieldName: addressee
     * @fieldType: String
     * @Description: 收件人
     */
    @NotBlank
    private String addressee;

    /**
     * @fieldName: contact
     * @fieldType: String
     * @Description: 联系人方式
     */
    @NotBlank
    private String contact;

    /**
     * @fieldName: comment
     * @fieldType: String
     * @Description: 备注
     */
    private String comment;

    public String getOrderids() {
        return orderids;
    }

    public void setOrderids(String orderids) {
        this.orderids = orderids;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddressee() {
        return addressee;
    }

    public void setAddressee(String addressee) {
        this.addressee = addressee;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    @Override
    public String toString() {
        return "InvoiceVo [orderids=" + orderids + ", title=" + title + ", address=" + address + ", addressee="
                + addressee + ", contact=" + contact + ", comment=" + comment + "]";
    }
}
